require(['./config'],() => {
    require(['template','header','footer'], (template) => {
        class List {
            constructor () {
               this.getLvList()
          
            }
            getLvList () {
                $.get('http://rap2.taobao.org:38080/app/mock/258485/api/home/lvList',resp => {
                    if(resp.code === 200 ){
                        const{ list } =resp.body
                        $('#lv-showUl').html(template('lv-showUlTemplate',{list}))
                    }
                })
            }

        }
        return new List()
    }) 
})